import {createContext}  from "react"
//createContext  由react提供的跨组件传参

const   mycontext=  createContext()//模块
//  createContext  提供了两个模块
export  const  { Provider,Consumer}   =  mycontext

export  default mycontext